package com.example.aircraftticketingsystemserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lxz
 * @since 2024-08-19
 */
@Data
public class Ticket implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ticket_id", type = IdType.AUTO)
    private Integer ticketId;

    private Integer flightId;

    private Integer price;

    private Integer count;

    private String type;
}
